package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.SysCgImportMainDetail;
import org.apache.ibatis.annotations.Param;

/**
 * SysCgImportMainDetailMapper接口
 * 
 * @author SYF
 * @date 2025-05-15
 */
public interface SysCgImportMainDetailMapper {


    /**
     * 查询SysCgImportMainDetail列表
     * 
     * @param sysCgImportMainDetail SysCgImportMainDetail
     * @return SysCgImportMainDetail集合
     */
    public List<SysCgImportMainDetail> selectSysCgImportMainDetailList(SysCgImportMainDetail sysCgImportMainDetail);

    public List<SysCgImportMainDetail> selectCgImportDetailList(SysCgImportMainDetail sysCgImportMainDetail);

    /**
     * 新增SysCgImportMainDetail
     * 
     * @param sysCgImportMainDetail SysCgImportMainDetail
     * @return 结果
     */
    public int insertSysCgImportMainDetail(SysCgImportMainDetail sysCgImportMainDetail);

    /**
     * 修改SysCgImportMainDetail
     * 
     * @param sysCgImportMainDetail SysCgImportMainDetail
     * @return 结果
     */
    public int updateSysCgImportMainDetail(SysCgImportMainDetail sysCgImportMainDetail);

    public List<Map<String,Object>> selectDepts(@Param("year") String year);

    public List<Map<String,Object>> selectSales(@Param("year")String year);

    public List<Map<String,Object>> selectCustomer(@Param("year")String year);

}
